

package com.hexinfo.dmpro.sparing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hexinfo.dmpro.sparing.dto.CreateTableDTO;
import com.hexinfo.dmpro.sparing.model.HotStandbyLogSource;
import com.hexinfo.dmpro.sparing.model.SyncRuleConf;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * 同步规则配置表
 *
 * @author yemw
 * @date 2023-09-08 17:45:29
 */
public interface SyncRuleConfService extends IService<SyncRuleConf> {
    public Page queryList(Page page, SyncRuleConf syncRuleConf);

    Boolean getSyncRuleData(String source,String cpWhether,String id,String logId);

    Boolean getSyncRuleDoc(String source);

    Boolean qyScanMetadataWhere(String flag,String source,String cpWhether);

    List<CreateTableDTO> createTable(String dbName);

    List<HotStandbyLogSource> sourceHotBackupState();

}
